<template>
    <div>
        <h1>测试页面</h1>
        <el-button type="primary" @click="goToAddPage">测试按钮</el-button>
        
    </div>
</template>
<script setup>
import { useRouter } from 'vue-router';
const router = useRouter();
const goToAddPage = () => {
    router.push('/add');
};
</script>
